package com.my.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "my_case")
public class MyCase {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 种类
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 图片路径
     */
    @TableField(value = "url")
    private String url;

    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;

}